﻿namespace Hotel.Managment.Model
{
    /// <summary>
    /// Interface which represents an model entity.
    /// </summary>
    public abstract class ModelEntity
    {
        /// <summary>
        /// Gets or sets the id of the entity.
        /// </summary>
        /// <value>The id.</value>
        public int Id { get; private set; }

        protected ModelEntity(int id)
        {
            this.Id = id;
        }
    }
}
